package com.whut.mobilesafe.domain;

import android.graphics.drawable.Drawable;

/**
 * 作    者:yubo.xiaoyubo
 * 时    间：2015/12/28 9:24
 * 版    本：1.0
 * 描    述：手机中已经安装的应用信息
 */
public class AppInfo {

    public String name;
    public Drawable icon;
    public String position;
    public boolean isUser;

    public boolean isUser() {
        return isUser;
    }

    public void setIsUser(boolean isUser) {
        this.isUser = isUser;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public AppInfo(String name, Drawable icon, String position) {
        this.name = name;
        this.icon = icon;
        this.position = position;
    }


    public AppInfo() {
    }

    @Override
    public String toString() {
        return "AppInfo{" +
                "name='" + name + '\'' +
                ", Icon=" + icon +
                ", position='" + position + '\'' +
                '}';
    }
}
